package entjava.poker.model;

public class Card  {

	private String suit;
	private String value;
	private String prefix;
	private String suffix;
	//private boolean hidden;
	private int rankNum;
	private int suitNum;
	private String path;

	public Card(String s, String v, String pref, String suff, int rNum, int sNum){
		this.setSuit(s);
		this.setValue(v);
		this.setPrefix(pref);
		this.setSuffix(suff);
		this.setRankNum(rNum);
		this.setSuitNum(sNum);
		this.setPath(pref+suff);
	}

	public void setSuit(String suit) {
		this.suit = suit;
	}

	public String getSuit() {
		return suit;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}
	
	public String toString()
	{
	    return  value +" of "+ suit;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getSuffix() {
		return suffix;
	}

	public int getRankNum() {
		return rankNum;
	}

	public void setRankNum(int rankNum) {
		this.rankNum = rankNum;
	}

	public int getSuitNum() {
		return suitNum;
	}

	public void setSuitNum(int suitNum) {
		this.suitNum = suitNum;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

}